<!DOCTYPE html>
<html lang="zh-CN">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Awesome LLM Apps - 大语言模型应用资源库</title>
    <link href="https://cdn.staticfile.org/font-awesome/6.4.0/css/all.min.css" rel="stylesheet">
    <link href="https://cdn.staticfile.org/tailwindcss/2.2.19/tailwind.min.css" rel="stylesheet">
    <link href="https://fonts.googleapis.com/css2?family=Noto+Serif+SC:wght@400;500;600;700&family=Noto+Sans+SC:wght@300;400;500;700&display=swap" rel="stylesheet">
    <script src="https://cdn.jsdelivr.net/npm/mermaid@latest/dist/mermaid.min.js"></script>
    <style>
        body {
            font-family: 'Noto Sans SC', Tahoma, Arial, Roboto, "Droid Sans", "Helvetica Neue", "Droid Sans Fallback", "Heiti SC", "Hiragino Sans GB", Simsun, sans-serif;
            background-color: #f8fafc;
            color: #1e293b;
            line-height: 1.6;
        }
        .serif {
            font-family: 'Noto Serif SC', serif;
        }
        .gradient-text {
            background: linear-gradient(135deg, #6366f1, #8b5cf6);
            -webkit-background-clip: text;
            background-clip: text;
            color: transparent;
        }
        .card-hover {
            transition: all 0.3s ease;
        }
        .card-hover:hover {
            transform: translateY(-5px);
            box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
        }
        .highlight-box {
            position: relative;
        }
        .highlight-box::before {
            content: '';
            position: absolute;
            left: 0;
            top: 0;
            width: 4px;
            height: 100%;
            background: linear-gradient(to bottom, #6366f1, #8b5cf6);
            border-radius: 2px;
        }
        .mermaid {
            background-color: white;
            border-radius: 0.75rem;
            padding: 1.5rem;
            box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
        }
    </style>
</head>
<body class="antialiased">
    <!-- Hero Section -->
    <div class="relative bg-gradient-to-r from-indigo-500 to-purple-600 py-20 px-4 sm:px-6 lg:px-8 text-white">
        <div class="max-w-7xl mx-auto">
            <div class="flex flex-col lg:flex-row items-center">
                <div class="lg:w-1/2 mb-10 lg:mb-0 lg:pr-10">
                    <h1 class="text-4xl md:text-5xl font-bold mb-6 serif">
                        <span class="gradient-text">Awesome LLM Apps</span>
                    </h1>
                    <p class="text-xl md:text-2xl mb-8 opacity-90">开源大语言模型应用资源库</p>
                    <p class="text-lg mb-8 opacity-80 leading-relaxed">
                        汇集基于大语言模型(LLM)的多样化应用，结合检索增强生成(RAG)、AI代理和多代理团队等技术，为开发者提供从代码到生产环境的实用案例和教程。
                    </p>
                    <div class="flex flex-wrap gap-4">
                        <a href="https://github.com/Shubhamsaboo/awesome-llm-apps" target="_blank" class="bg-white text-indigo-600 hover:bg-gray-100 px-6 py-3 rounded-full font-medium transition duration-300 inline-flex items-center">
                            <i class="fab fa-github mr-2"></i> GitHub 项目
                        </a>
                        <a href="#start" class="text-white hover:text-white border-2 border-white hover:bg-white hover:bg-opacity-10 px-6 py-3 rounded-full font-medium transition duration-300 inline-flex items-center">
                            <i class="fas fa-rocket mr-2"></i> 快速开始
                        </a>
                    </div>
                </div>
                <div class="lg:w-1/2">
                    <div class="bg-white p-4 rounded-xl shadow-2xl">
                        <img src="https://cdn.nlark.com/yuque/0/2025/png/21449790/1753430414185-6838b98c-b3f0-478a-a7f6-09db3574a9df.png" alt="Awesome LLM Apps" class="w-full h-auto rounded-lg">
                    </div>
                </div>
            </div>
        </div>
    </div>

    <!-- What Problem It Solves -->
    <div class="py-16 px-4 sm:px-6 lg:px-8 bg-white">
        <div class="max-w-7xl mx-auto">
            <div class="text-center mb-16">
                <h2 class="text-3xl font-bold text-gray-900 mb-4 serif">它能解决什么问题？</h2>
                <div class="w-24 h-1 bg-gradient-to-r from-indigo-500 to-purple-600 mx-auto mb-6"></div>
                <p class="text-lg text-gray-600 max-w-3xl mx-auto">
                    构建基于 LLM 的应用时，开发者常面临缺乏现成案例、复杂框架配置困难、以及 API 和模型集成成本高昂等痛点。
                </p>
            </div>
            <div class="grid md:grid-cols-3 gap-8">
                <div class="bg-gray-50 p-8 rounded-xl card-hover">
                    <div class="text-indigo-600 mb-4 text-3xl">
                        <i class="fas fa-search"></i>
                    </div>
                    <h3 class="text-xl font-bold mb-3 serif">缺乏现成案例</h3>
                    <p class="text-gray-600">初学者难以找到清晰的教程和实践案例，学习曲线陡峭。</p>
                </div>
                <div class="bg-gray-50 p-8 rounded-xl card-hover">
                    <div class="text-purple-600 mb-4 text-3xl">
                        <i class="fas fa-cogs"></i>
                    </div>
                    <h3 class="text-xl font-bold mb-3 serif">框架配置困难</h3>
                    <p class="text-gray-600">复杂框架的配置和集成需要大量时间和专业知识。</p>
                </div>
                <div class="bg-gray-50 p-8 rounded-xl card-hover">
                    <div class="text-indigo-600 mb-4 text-3xl">
                        <i class="fas fa-dollar-sign"></i>
                    </div>
                    <h3 class="text-xl font-bold mb-3 serif">API 成本高昂</h3>
                    <p class="text-gray-600">商业 API 成本高，开源模型本地运行门槛高。</p>
                </div>
            </div>
            <div class="mt-12 bg-indigo-50 p-6 rounded-xl highlight-box pl-8">
                <p class="text-lg font-medium text-indigo-800">
                    <i class="fas fa-lightbulb text-indigo-600 mr-2"></i>
                    <strong>Awesome LLM Apps 正是为解决这些问题而生</strong>，通过提供丰富的示例代码和文档，帮助用户快速上手并将 LLM 应用于实际场景。
                </p>
            </div>
        </div>
    </div>

    <!-- Core Features -->
    <div class="py-16 px-4 sm:px-6 lg:px-8 bg-gray-50">
        <div class="max-w-7xl mx-auto">
            <div class="text-center mb-16">
                <h2 class="text-3xl font-bold text-gray-900 mb-4 serif">核心功能概述</h2>
                <div class="w-24 h-1 bg-gradient-to-r from-indigo-500 to-purple-600 mx-auto mb-6"></div>
            </div>
            <div class="grid md:grid-cols-2 lg:grid-cols-4 gap-6">
                <div class="bg-white p-6 rounded-xl shadow-sm card-hover">
                    <div class="text-purple-600 mb-3 text-2xl">
                        <i class="fas fa-layer-group"></i>
                    </div>
                    <h3 class="text-lg font-bold mb-2 serif">多样化应用集合</h3>
                    <p class="text-gray-600 text-sm">包含客服、法律、财务、旅游等领域的 AI 代理和 RAG 应用，支持多种模型。</p>
                </div>
                <div class="bg-white p-6 rounded-xl shadow-sm card-hover">
                    <div class="text-indigo-600 mb-3 text-2xl">
                        <i class="fas fa-book-open"></i>
                    </div>
                    <h3 class="text-lg font-bold mb-2 serif">详细教程</h3>
                    <p class="text-gray-600 text-sm">每个项目附带分步指南和完整代码，涵盖从环境设置到部署的整个流程。</p>
                </div>
                <div class="bg-white p-6 rounded-xl shadow-sm card-hover">
                    <div class="text-purple-600 mb-3 text-2xl">
                        <i class="fas fa-search-plus"></i>
                    </div>
                    <h3 class="text-lg font-bold mb-2 serif">RAG 集成</h3>
                    <p class="text-gray-600 text-sm">支持与 GitHub、Gmail、PDF、YouTube 等数据源的 RAG 交互。</p>
                </div>
                <div class="bg-white p-6 rounded-xl shadow-sm card-hover">
                    <div class="text-indigo-600 mb-3 text-2xl">
                        <i class="fas fa-users"></i>
                    </div>
                    <h3 class="text-lg font-bold mb-2 serif">多代理协作</h3>
                    <p class="text-gray-600 text-sm">提供多代理团队示例，实现复杂任务的分工协作。</p>
                </div>
            </div>
        </div>
    </div>

    <!-- Data Visualization -->
    <div class="py-16 px-4 sm:px-6 lg:px-8 bg-white">
        <div class="max-w-7xl mx-auto">
            <div class="text-center mb-16">
                <h2 class="text-3xl font-bold text-gray-900 mb-4 serif">技术架构与工作流程</h2>
                <div class="w-24 h-1 bg-gradient-to-r from-indigo-500 to-purple-600 mx-auto mb-6"></div>
                <p class="text-lg text-gray-600 max-w-3xl mx-auto">
                    通过可视化图表展示 Awesome LLM Apps 的主要技术组件和典型工作流程
                </p>
            </div>
            <div class="mermaid">
                graph TD
                    A[用户输入/查询] --> B{应用场景}
                    B -->|智能客服| C[邮件处理]
                    B -->|财务分析| D[股票数据]
                    B -->|研究总结| E[论文处理]
                    
                    C --> F[RAG检索]
                    D --> F
                    E --> F
                    
                    F --> G[LLM处理]
                    G --> H[生成响应]
                    
                    subgraph 核心组件
                    F --> I[数据源]
                    I --> J[Gmail]
                    I --> K[PDF]
                    I --> L[YouTube]
                    I --> M[GitHub]
                    
                    G --> N[模型选择]
                    N --> O[OpenAI]
                    N --> P[Anthropic]
                    N --> Q[Gemini]
                    N --> R[Llama]
                    end
            </div>
        </div>
    </div>

    <!-- Usage Scenarios -->
    <div class="py-16 px-4 sm:px-6 lg:px-8 bg-indigo-50">
        <div class="max-w-7xl mx-auto">
            <div class="text-center mb-16">
                <h2 class="text-3xl font-bold text-gray-900 mb-4 serif">使用场景</h2>
                <div class="w-24 h-1 bg-gradient-to-r from-indigo-500 to-purple-600 mx-auto mb-6"></div>
                <p class="text-lg text-gray-600 max-w-3xl mx-auto">
                    探索 Awesome LLM Apps 在实际业务中的典型应用场景
                </p>
            </div>
            <div class="grid md:grid-cols-3 gap-8">
                <div class="bg-white p-8 rounded-xl shadow-sm card-hover">
                    <div class="bg-indigo-100 w-16 h-16 rounded-full flex items-center justify-center mb-6 mx-auto">
                        <i class="fas fa-headset text-indigo-600 text-2xl"></i>
                    </div>
                    <h3 class="text-xl font-bold mb-3 serif text-center">智能客服系统</h3>
                    <p class="text-gray-600 mb-4">使用 AI 客服代理(基于 OpenAI 和 RAG)处理客户邮件，自动从 Gmail 获取历史记录并生成回复，提升响应速度。</p>
                    <p class="text-indigo-600 font-medium text-center"><i class="fas fa-question-circle mr-2"></i>你的业务是否需要自动化客服来节省时间？</p>
                </div>
                <div class="bg-white p-8 rounded-xl shadow-sm card-hover">
                    <div class="bg-purple-100 w-16 h-16 rounded-full flex items-center justify-center mb-6 mx-auto">
                        <i class="fas fa-chart-line text-purple-600 text-2xl"></i>
                    </div>
                    <h3 class="text-xl font-bold mb-3 serif text-center">财务分析助手</h3>
                    <p class="text-gray-600 mb-4">部署 AI 财务代理团队，通过 YFinance 抓取实时数据并结合 DuckDuckGo 搜索，提供股票分析和投资建议。</p>
                </div>
                <div class="bg-white p-8 rounded-xl shadow-sm card-hover">
                    <div class="bg-indigo-100 w-16 h-16 rounded-full flex items-center justify-center mb-6 mx-auto">
                        <i class="fas fa-book text-indigo-600 text-2xl"></i>
                    </div>
                    <h3 class="text-xl font-bold mb-3 serif text-center">研究论文总结</h3>
                    <p class="text-gray-600 mb-4">利用 RAG 功能从 ArXiv 提取论文内容，生成简洁摘要，助力学术研究人员快速掌握文献要点。</p>
                </div>
            </div>
        </div>
    </div>

    <!-- Advantages -->
    <div class="py-16 px-4 sm:px-6 lg:px-8 bg-white">
        <div class="max-w-7xl mx-auto">
            <div class="text-center mb-16">
                <h2 class="text-3xl font-bold text-gray-900 mb-4 serif">优势与特色</h2>
                <div class="w-24 h-1 bg-gradient-to-r from-indigo-500 to-purple-600 mx-auto mb-6"></div>
                <p class="text-lg text-gray-600 max-w-3xl mx-auto">
                    与类似资源库(如 Awesome-LLM)相比，Awesome LLM Apps 的独特之处
                </p>
            </div>
            <div class="grid md:grid-cols-2 gap-8">
                <div class="p-6 bg-gray-50 rounded-xl">
                    <h3 class="text-xl font-bold mb-4 serif text-indigo-600">核心优势</h3>
                    <ul class="space-y-4">
                        <li class="flex items-start">
                            <div class="bg-indigo-100 p-2 rounded-full mr-4">
                                <i class="fas fa-database text-indigo-600"></i>
                            </div>
                            <div>
                                <h4 class="font-bold">丰富案例库</h4>
                                <p class="text-gray-600 text-sm">涵盖客服、法律、医疗、旅游等多个领域，项目数量和多样性领先(50.9k 星标，5.9k 分叉)。</p>
                            </div>
                        </li>
                        <li class="flex items-start">
                            <div class="bg-purple-100 p-2 rounded-full mr-4">
                                <i class="fas fa-laptop-code text-purple-600"></i>
                            </div>
                            <div>
                                <h4 class="font-bold">实践导向</h4>
                                <p class="text-gray-600 text-sm">提供完整代码和分步教程，降低学习曲线，优于仅提供理论的资源库。</p>
                            </div>
                        </li>
                        <li class="flex items-start">
                            <div class="bg-indigo-100 p-2 rounded-full mr-4">
                                <i class="fas fa-users text-indigo-600"></i>
                            </div>
                            <div>
                                <h4 class="font-bold">社区活跃</h4>
                                <p class="text-gray-600 text-sm">频繁更新，拥有活跃的贡献者社区，支持 hackathon 和新项目提案。</p>
                            </div>
                        </li>
                    </ul>
                </div>
                <div class="p-6 bg-gray-50 rounded-xl">
                    <h3 class="text-xl font-bold mb-4 serif text-purple-600">技术特点</h3>
                    <ul class="space-y-4">
                        <li class="flex items-start">
                            <div class="bg-purple-100 p-2 rounded-full mr-4">
                                <i class="fas fa-server text-purple-600"></i>
                            </div>
                            <div>
                                <h4 class="font-bold">本地与云端兼容</h4>
                                <p class="text-gray-600 text-sm">支持本地运行开源模型，同时兼容云端 API，灵活适应不同需求。</p>
                            </div>
                        </li>
                        <li class="flex items-start">
                            <div class="bg-indigo-100 p-2 rounded-full mr-4">
                                <i class="fas fa-exclamation-triangle text-indigo-600"></i>
                            </div>
                            <div>
                                <h4 class="font-bold">局限性</h4>
                                <p class="text-gray-600 text-sm">部分项目依赖外部 API 密钥，需额外配置；依赖和配置问题可能导致新手调试困难，需改进文档。</p>
                            </div>
                        </li>
                    </ul>
                </div>
            </div>
        </div>
    </div>

    <!-- Getting Started -->
    <div id="start" class="py-16 px-4 sm:px-6 lg:px-8 bg-gradient-to-r from-indigo-500 to-purple-600 text-white">
        <div class="max-w-7xl mx-auto">
            <div class="text-center mb-16">
                <h2 class="text-3xl font-bold mb-4 serif">上手指南</h2>
                <div class="w-24 h-1 bg-white mx-auto mb-6"></div>
                <p class="text-lg opacity-90 max-w-3xl mx-auto">
                    只需简单几步，即可开始使用 Awesome LLM Apps
                </p>
            </div>
            <div class="grid md:grid-cols-2 lg:grid-cols-3 gap-6">
                <div class="bg-white bg-opacity-10 p-6 rounded-xl backdrop-blur-sm border border-white border-opacity-20">
                    <div class="text-2xl mb-3">
                        <i class="fas fa-code-branch"></i>
                    </div>
                    <h3 class="text-xl font-bold mb-2 serif">1. 克隆仓库</h3>
                    <p class="opacity-80 text-sm">运行 <code class="bg-black bg-opacity-30 px-2 py-1 rounded">git clone https://github.com/Shubhamsaboo/awesome-llm-apps.git</code> 并进入目录 <code class="bg-black bg-opacity-30 px-2 py-1 rounded">cd awesome-llm-apps</code></p>
                </div>
                <div class="bg-white bg-opacity-10 p-6 rounded-xl backdrop-blur-sm border border-white border-opacity-20">
                    <div class="text-2xl mb-3">
                        <i class="fas fa-folder-open"></i>
                    </div>
                    <h3 class="text-xl font-bold mb-2 serif">2. 选择项目</h3>
                    <p class="opacity-80 text-sm">浏览目录(如 <code class="bg-black bg-opacity-30 px-2 py-1 rounded">ai_agent_tutorials/ai_customer_support_agent</code>)，选择感兴趣的应用。</p>
                </div>
                <div class="bg-white bg-opacity-10 p-6 rounded-xl backdrop-blur-sm border border-white border-opacity-20">
                    <div class="text-2xl mb-3">
                        <i class="fas fa-download"></i>
                    </div>
                    <h3 class="text-xl font-bold mb-2 serif">3. 安装依赖</h3>
                    <p class="opacity-80 text-sm">进入项目目录，运行 <code class="bg-black bg-opacity-30 px-2 py-1 rounded">pip install -r requirements.txt</code> 安装所需库。</p>
                </div>
                <div class="bg-white bg-opacity-10 p-6 rounded-xl backdrop-blur-sm border border-white border-opacity-20">
                    <div class="text-2xl mb-3">
                        <i class="fas fa-cog"></i>
                    </div>
                    <h3 class="text-xl font-bold mb-2 serif">4. 配置环境</h3>
                    <p class="opacity-80 text-sm">根据 README 配置 API 密钥(如 OpenAI)或环境变量(如 <code class="bg-black bg-opacity-30 px-2 py-1 rounded">OPENAI_API_KEY</code>)。</p>
                </div>
                <div class="bg-white bg-opacity-10 p-6 rounded-xl backdrop-blur-sm border border-white border-opacity-20">
                    <div class="text-2xl mb-3">
                        <i class="fas fa-play"></i>
                    </div>
                    <h3 class="text-xl font-bold mb-2 serif">5. 运行应用</h3>
                    <p class="opacity-80 text-sm">执行项目提供的启动命令(如 <code class="bg-black bg-opacity-30 px-2 py-1 rounded">python main.py</code>)，参考 README 完成设置。</p>
                </div>
                <div class="bg-white bg-opacity-10 p-6 rounded-xl backdrop-blur-sm border border-white border-opacity-20">
                    <div class="text-2xl mb-3">
                        <i class="fas fa-hands-helping"></i>
                    </div>
                    <h3 class="text-xl font-bold mb-2 serif">6. 贡献与反馈</h3>
                    <p class="opacity-80 text-sm">通过 GitHub Issues 提交改进建议或新应用创意。</p>
                </div>
            </div>
            <div class="mt-12 text-center">
                <a href="https://github.com/Shubhamsaboo/awesome-llm-apps" target="_blank" class="inline-flex items-center px-6 py-3 bg-white text-indigo-600 rounded-full font-medium hover:bg-gray-100 transition duration-300">
                    <i class="fab fa-github mr-2"></i> 立即探索项目
                </a>
            </div>
        </div>
    </div>

    <script>
        mermaid.initialize({
            startOnLoad: true,
            theme: 'default',
            flowchart: {
                useMaxWidth: true,
                htmlLabels: true,
                curve: 'basis'
            }
        });
        
        // 微交互效果
        document.querySelectorAll('.card-hover').forEach(card => {
            card.addEventListener('mouseenter', function() {
                this.style.transition = 'all 0.3s ease';
            });
        });
    </script>
</body>
</html>